@echo off
REM 设置项目路径
set PROJECT_PATH=%cd%
set DOCKER_IMAGE=my-hyperf-test

REM 执行容器命令，附带环境变量
docker run --rm ^
    -v %PROJECT_PATH%:/opt/www ^
    -w /opt/www ^
    -e APP_ENV=dev ^
    -e SCAN_CACHEABLE=false ^
    %DOCKER_IMAGE% ^
    composer create-project hyperf/hyperf-skeleton api-gateway